#pragma once
#ifndef BUFFERCOLLECTION_H_
#define BUFFERCOLLECTION_H_
#include <d3d9.h>
#include <d3dx9.h>

namespace Minicraft
{
	class BufferCollection
	{
	private:
		IDirect3DVertexBuffer9* vertexBuffer;
		IDirect3DIndexBuffer9* indexBuffer;
		LPDIRECT3DDEVICE9 device;

	public:
		// Ctor/Dtor
		BufferCollection(LPDIRECT3DDEVICE9);
		~BufferCollection();

		// Accessors
		IDirect3DVertexBuffer9* GetVertexBuffer();
		IDirect3DIndexBuffer9* GetIndexBuffer();
		LPDIRECT3DDEVICE9 GetD3DDevice();
	};
}
#endif